//
//  HotArticleVC.m
//  leyitui
//
//  Created by 王大江 on 17/9/18.
//  Copyright © 2017年 xinleyi. All rights reserved.
//

#import "HotArticleVC.h"
#import "RewardSumMoneyVC.h"
#import "FinancialAdVC.h"
#import "UITextView+PlaceHolder.h"

@interface HotArticleVC ()
@property (weak, nonatomic) IBOutlet UITextView *urlTV;



@end

@implementation HotArticleVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.automaticallyAdjustsScrollViewInsets = NO;
    FinancialAdVC *a = [[FinancialAdVC alloc] init];
    FinancialAdVC *b = [[FinancialAdVC alloc] init];
    FinancialAdVC *c = [[FinancialAdVC alloc] init];
    FinancialAdVC *d = [[FinancialAdVC alloc] init];
    FinancialAdVC *e = [[FinancialAdVC alloc] init];
    [self setupsubviewWithViewcontrollerArray:@[a,b,c,d,e] AndTitleArray:@[@"财经咨询",@"知识百科",@"互联网",@"生活艺术",@"热门"] CGPoint:CGPointMake(0,203) height:50];
    [self.urlTV addPlaceHolder:@"双击或者长按粘贴文章链接，请勿转发谣言，暴力，色情，欺诈等违规信息，如果发现直接封号处理。"];
    
    
}

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    [self.urlTV resignFirstResponder];
}






@end
